<html><head><title>Integrating new UNO components</title><meta name="filename" content="text/common/guide/integratinguno"/><help:css-file-link xmlns:help="http://openoffice.org/2000/help"/><!--The CSS style header method for setting styles--><style type="text/css">
p.P1{
}
p.P2{
}
span.T1{
font-weight:bold;}
</style></head><body>
<p class="P1"/>
<p class="Head1"><help:paragraphinfo state="U" number="7" xmlns:help="http://openoffice.org/2000/help"/><help:key-word value="add-ons; integrating new components" tag="kw68686_1" xmlns:help="http://openoffice.org/2000/help"/><help:key-word value="components; integrating new" tag="kw68686_2" xmlns:help="http://openoffice.org/2000/help"/><help:to-be-embedded Eid="integratinguno" xmlns:help="http://openoffice.org/2000/help"><help:link Id="68686">Integrating new UNO components</help:link></help:to-be-embedded></p>
<p class="Paragraph"><help:paragraphinfo state="U" number="1" xmlns:help="http://openoffice.org/2000/help"/>Programmers can write and integrate their own UNO (Universal Network Objects) components to <help:productname xmlns:help="http://openoffice.org/2000/help">%PRODUCTNAME</help:productname>. Those new components can be added to the <help:productname xmlns:help="http://openoffice.org/2000/help">%PRODUCTNAME</help:productname> menus and toolbars; we call them "Add-Ons".</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="2" xmlns:help="http://openoffice.org/2000/help"/>The integration of new components is supported by some tools and services. Details can be found in the <help:productname xmlns:help="http://openoffice.org/2000/help">%PRODUCTNAME</help:productname> Developer's Guide. The three main steps are as follows:</p>
<ol class="L1">
<li class="">
<p class="P2"><help:paragraphinfo state="U" number="3" xmlns:help="http://openoffice.org/2000/help"/>Register the new components within <help:productname xmlns:help="http://openoffice.org/2000/help">%PRODUCTNAME</help:productname>. This can be accomplished using the tool <span class="T1">pkgchk</span> (short for "package check"), which can be found in {installpath}<help:switch select="System" xmlns:help="http://openoffice.org/2000/help"><help:case select="UNIX">/</help:case><help:default>\</help:default></help:switch>program.</p>
</li>
<li class="">
<p class="P2"><help:paragraphinfo state="U" number="4" xmlns:help="http://openoffice.org/2000/help"/>Integrate the new components as services. The ProtocolHandler and JobDispatch services assist you; more information can be found in the <help:productname xmlns:help="http://openoffice.org/2000/help">%PRODUCTNAME</help:productname> Developer's Guide.</p>
</li>
<li class="">
<p class="P2"><help:paragraphinfo state="U" number="5" xmlns:help="http://openoffice.org/2000/help"/>Change the user interface (menus or toolbars). This can be done almost automatically by writing an XML text file that describes the changes. More information can be found in the <help:productname xmlns:help="http://openoffice.org/2000/help">%PRODUCTNAME</help:productname> Developer's Guide.</p>
</li>
</ol>
<p class="Paragraph"><help:paragraphinfo state="U" number="6" xmlns:help="http://openoffice.org/2000/help"/>The Add-Ons can extend the functionality of <help:productname xmlns:help="http://openoffice.org/2000/help">%PRODUCTNAME</help:productname>. They are not related to the <help:switch select="Program" xmlns:help="http://openoffice.org/2000/help"><help:case select="CALC"><help:link Id="66914">Add-Ins</help:link></help:case><help:default>Add-Ins</help:default></help:switch> that provide new functions for <help:productname xmlns:help="http://openoffice.org/2000/help">%PRODUCTNAME</help:productname> Calc.</p>